package jk.zmn.proxy.proxyclass;

import jk.zmn.proxy.IUserService;
import jk.zmn.proxy.UserService;

/**
 * 静态代理类
 * @author zmn
 *
 */
public class StaticProxy implements IUserService{

	private IUserService userservice = new UserService();
	
	@Override
	public void addUser(String name) {
		
		userservice.addUser(name);
		System.out.println("我是日志：添加了"+name);
		
	}
	
}
